<template>
	<view class="contact-page">
		<view class="title">Contact the Author</view>

		<view class="contact-info">
			<view><text>Phone: {{ connectWay.phone }}</text></view>
			<view><text>WeChat: {{ connectWay.wechat }}</text></view>
			<view><text>mailbox: {{ connectWay.mailbox }}</text></view>
		</view>

	</view>
</template>


<script>
	export default {
		data() {
			return {
				connectWay: {
					phone: '15818371022',
					wechat: 'wxid1812370648',
					mailbox: '1812370648@qq.com',
				}
			};
		}
	};
</script>

<style>
	.contact-page {
		text-align: center;
		margin-top: 50px;
	}

	h1 {
		font-size: 30px;
		color: #333;
	}

	.contact-info {
		margin-top: 20px;
		font-size: 18px;
	}

	.social-media {
		margin-top: 40px;
	}

	.social-media a {
		display: inline-block;
		margin-right: 20px;
		width: 40px;
		height: 40px;
		border-radius: 50%;
		text-decoration: none;
	}

	.social-media a.phone-icon {
		background-color: #007bff;
	}

	.social-media a.wechat-icon {
		background-color: #28a745;
	}

	.social-media a img {
		width: 100%;
		height: 100%;
		object-fit: contain;
	}
</style>